<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

require dirname(__FILE__).'/pc_controller.php';

class Rental extends PC_controller {

    public function __construct(){
        parent::__construct();
        $this->load->model('Customermodel','m_customer',true);
        $this->load->model('Bannermodel','m_banner',true);
        $this->load->model('Newsmodel','m_news',true);
    }

    public function index(){

    }

    public function getActiveBannerList() {
      $banner_list = $this->m_banner->getBannerListSection(array(
        where => array(
          'banner_status' => STATUS_ACTIVE,
        ),
        nocount => true,
      ));

      $this->response->setSuccess();
      $this->response->setItems($banner_list);
      $this->response->responseExit();
    }



}
/* End of file api_log.php */
/* Location: ./application/controllers/customer_rental.php */
